home *** CD-ROM | disk | FTP | other *** search
/ Chip 2003 November / Chip Kasım 2003.iso / prog / openoff / f_0244 / common.jar / text / common / guide / data_dbase2office.xml < prev    next >
Encoding:
Extensible Markup Language  |  2002-01-24  |  6.0 KB  |  68 lines

  1. <?xml version="1.0" encoding="utf-8"?>
  2. <html><head><title>Importing and Exporting Data in Text Format</title><meta name="filename" content="text/common/guide/data_dbase2office"/><meta name="language" content="en-US"/><help:css-file-link xmlns:help="http://openoffice.org/2000/help"/><!--The CSS style header method for setting styles--><style type="text/css">
  3.  
  4.         table.Tabelle1{
  5.                 }
  6.         span.Tabelle1A{
  7.                 width:18cm;}
  8.         td.Tabelle1A1{
  9.                 }
  10.         p.P1{
  11.                 }
  12.         p.P2{
  13.                 }
  14.         p.P3{
  15.                 }
  16.         p.P4{
  17.                 }
  18.         span.T1{
  19.                 font-weight:bold;}
  20.         span.fr1{
  21.                 }
  22.         </style></head><body>
  23.    
  24.    
  25.    <p class="P1"><help:key-word value="databases; importing" tag="kw68131_1" xmlns:help="http://openoffice.org/2000/help"/><help:key-word value="databases; exporting" tag="kw68131_7" xmlns:help="http://openoffice.org/2000/help"/><help:key-word value="databases; text formats" tag="kw68131_6" xmlns:help="http://openoffice.org/2000/help"/><help:key-word value="text formats; databases" tag="kw68131_5" xmlns:help="http://openoffice.org/2000/help"/><help:key-word value="csv text format; databases" tag="kw68131_4" xmlns:help="http://openoffice.org/2000/help"/><help:key-word value="import; tables in text format" tag="kw68131_3" xmlns:help="http://openoffice.org/2000/help"/><help:key-word value="export; tables in text format" tag="kw68131_2" xmlns:help="http://openoffice.org/2000/help"/></p>
  26.    <p class="Head1"><help:to-be-embedded Eid="data_dbase2office" xmlns:help="http://openoffice.org/2000/help"><help:link Id="68131">Importing and Exporting Data in Text Format</help:link></help:to-be-embedded></p>
  27.    <p class="Paragraph">If you want to exchange data with a database which does not have an ODBC link and which does not allow dBase import and export, it is often possible to exchange the data via a common text format.</p>
  28.    <p class="Head2">Importing Data Into <help:productname xmlns:help="http://openoffice.org/2000/help">%PRODUCTNAME</help:productname></p>
  29.    <p class="Paragraph">To exchange data in a text format use the <help:productname xmlns:help="http://openoffice.org/2000/help">%PRODUCTNAME</help:productname> Calc import/export filter.</p>
  30.    <ol class="L1">
  31.     <li class="">
  32.      <p class="P2">Export the desired data from the source database in a text format. The CSV text format is highly recommended since it separates data fields by using commas and records by inserting line breaks.</p>
  33.     </li>
  34.     <li class="">
  35.      <p class="P2">Open the data with the "Text CSV" file filter. Select this file filter in the <help:link Id="65703" xmlns:help="http://openoffice.org/2000/help"><span class="T1">Open</span> dialog</help:link> in the <span class="T1">Files of type</span> list box. Select the file and click <span class="T1">Open</span>.</p>
  36.     </li>
  37.     <li class="">
  38.      <p class="P2">You will see the <help:link Id="65608" xmlns:help="http://openoffice.org/2000/help"><span class="T1">Import text files</span></help:link> dialog. Here you can decide which data to include from the text document.</p>
  39.     </li>
  40.    </ol>
  41.    <p class="Paragraph">Once the data is in a <help:productname xmlns:help="http://openoffice.org/2000/help">%PRODUCTNAME</help:productname> Calc spreadsheet, you can edit it as you want. You have two ways of saving the data in a <help:productname xmlns:help="http://openoffice.org/2000/help">%PRODUCTNAME</help:productname> data source:</p>
  42.    <ul class="L2">
  43.     <li class="">
  44.      <p class="P3">Save the current <help:productname xmlns:help="http://openoffice.org/2000/help">%PRODUCTNAME</help:productname> Calc spreadsheet in dBase format in the folder of a dBase database. To do this, choose <span class="T1">File - Save As</span>, then select the <span class="T1">File Type</span> "dBase" and the folder of the dBase database.</p>
  45.     </li>
  46.     <li class="">
  47.      <p class="P3">Check the data range in the <help:productname xmlns:help="http://openoffice.org/2000/help">%PRODUCTNAME</help:productname> Calc spreadsheet and drag the area into a table container in the data source view. The table container is the area on the left of the database explorer that is designated "Tables" (see diagram). An <help:link Id="66193" xmlns:help="http://openoffice.org/2000/help">AutoPilot</help:link> is started automatically.</p>
  48.     </li>
  49.    </ul>
  50.    <table><tr class=""><td class="Tabelle1A1" style="text-align:left;"><span class="Tabelle1A">
  51.       <p class="TableHead"><draw:image draw:style-name="fr1" draw:name="Grafik1" text:anchor-type="paragraph" svg:width="12.801cm" svg:height="3.284cm" draw:z-index="0" xlink:href="67388" xlink:type="simple" xlink:show="embed" xlink:actuate="onLoad" draw:filter-name="GIF - Graphics Interchange" xmlns:draw="http://openoffice.org/2000/drawing" xmlns:text="http://openoffice.org/2000/text" xmlns:svg="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"/></p>
  52.      </span></td></tr></table>
  53.    <p class="Head2">Exporting in CSV Text Format</p>
  54.    <p class="Paragraph">You can export the current <help:productname xmlns:help="http://openoffice.org/2000/help">%PRODUCTNAME</help:productname> spreadsheet in a text format which can be read by many other applications.</p>
  55.    <ol class="L3">
  56.     <li class="">
  57.      <p class="P4">Choose <span class="T1">File - Save as</span>.</p>
  58.     </li>
  59.     <li class="">
  60.      <p class="P4">In <span class="T1">Save as type</span> select the filter "Text CSV". Enter a file name and click <span class="T1">Save</span>.</p>
  61.     </li>
  62.     <li class="">
  63.      <p class="P4">This opens the <help:link Id="65617" xmlns:help="http://openoffice.org/2000/help"><span class="T1">Export of text files</span></help:link> dialog, in which you can select the character set, field delimiter and text delimiter. Click OK. A warning informs you that only the active sheet was saved.</p>
  64.     </li>
  65.    </ol>
  66.    <p class="ParaList"><help:embedded Id="65598" Eid="related" xmlns:help="http://openoffice.org/2000/help"/></p>
  67.    <p class="ParaList"><help:embedded Id="68133" Eid="data_office2calc" xmlns:help="http://openoffice.org/2000/help"/></p>
  68.   </body></html>